﻿using System;

namespace edowork.com.Model
{
    #region guardInfo

    [Serializable]
    public class guardInfo
    {
        #region Private fields

        protected string _guardid = String.Empty;
        protected string _guardname = String.Empty;
        protected string _sysdate = String.Empty;

        #endregion

        public guardInfo() { }

        #region Public Properties

        public string Guardid
        {
            get { return _guardid; }
            set { _guardid = value; }
        }

        public string Guardname
        {
            get { return _guardname; }
            set { _guardname = value; }
        }

        public string Sysdate
        {
            get { return _sysdate; }
            set { _sysdate = value; }
        }

        #endregion

        #region Public SQL Script

        public string SQL_Insert()
        {
            return "insert into guard(Guardid,Guardname,Sysdate) values('{0}','{1}','{2}')";
        }

        #endregion

    }

    #endregion
}

